package com.virgo.mongo.domain;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serial;
import java.io.Serializable;

@Data
@Document(collection = "collection_ids")
public class CollectionIdDo implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	private String collectionName;

	private Long collectionId;

	private Integer createdAt;

	private Integer updatedAt;

}
